<?php 
session_start();
if(isset($_SESSION['login'])){
			header("Location: ".$_SERVER['plateforme']."/galerie/galerie.php");}
else{
?>

	
<!doctype html>

<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>CMIX ENTERPRISE 2012</title>
<link rel="stylesheet" href="<?php echo $_SERVER['plateforme'];?>/css/style.css">
</head>

<body>
	<?php include $_SERVER['rootplateforme']."/bandeau.php";?> <!--Il s'agit de la barre en haut présente sur toutes les pages -->
	
	<h1>Bienvenue sur CMIX play</h1>
	<!-- elements de connexion -->
	<div class="login">
		<form method="post" action="<?php echo $_SERVER['plateforme'];?>/secure/authentification.php" name="ng_FormConnexion">
		<table class="ng_connexion">
			<tr>
				<td><input name="login" type="text" class="search" placeholder="votre login"></td>
			</tr>
			<tr>
				<td><input name="password" type="password" class="search" placeholder="votre mot de passe"></td>
			</tr>
			<tr>
				<td><input type="submit" value="Connexion" class="sort btn" data-sort="feature"/><a href="<?php echo $_SERVER['plateforme'];?>/Inscription/inscription.php">S'inscrire</a></td>
			</tr>
		</table>
		</form>
	</div>

	<div class="message"><h1><?php if(isset($_COOKIE['error'])){ echo $_COOKIE['error'];} ?></h1></div>
	
<center>©2012 CMIX enterprise all right reserved</center>
<script type="text/javascript"
	src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=javve"></script>
<script type="text/javascript" src="js/libs/hijs.js"></script>
</body>
</html>
<?php
	}
?>